package com.guangyunl.i_endless_nest;
// 死循环 循环条件一直为真
public class Demo01Endless {
    public static void main(String[] args) {
        int count = 0;

        /*
        for (int i = 0; i < 10; ){
            count++;
            System.out.println("count = " + count);
        }
         */

//        while (true){
//            count++;
//            System.out.println("count = " + count);
//        }
    }
}
